home *** CD-ROM | disk | FTP | other *** search
- //***************************************************************************
- //
- // this file is (c) '94-'96 Niklas Beisert
- //
- // this file is part of the cubic player development kit.
- // you may only use/modify/spread this file under the terms stated
- // in the cubic player development kit accompanying documentation.
- //
- //***************************************************************************
-
- #ifndef __SBINFILE_H
- #define __SBINFILE_H
-
- #include "binfile.h"
-
- class sbinfile : public binfile
- {
- protected:
- int handle;
-
- public:
- sbinfile();
-
- enum { openro=0, openrw, opencr, opencrn };
- int open(const char *name, int type);
-
- virtual void close();
- virtual long read(void *buf, long len);
- virtual long write(const void *buf, long len);
- virtual long seek(long pos);
- virtual long chsize(long pos);
- };
-
- #endif
-